package com.xzy.springboot.controller;

import com.xzy.springboot.service.IprovideMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MessageController {


    @Autowired
    private IprovideMessage provideMessage;

    @GetMapping(value = "/sendMessage")
    public String sendMessage()
    {
        return provideMessage.send();
    }

}
